package publicPackage.human;

/**
 * Created by Heart!
 *
 * @Author ZhangChaoJian
 * @Date 2018/3/19.12:16
 * Wants More Then Try Hard More!
 */

import java.io.Serializable;

/**
 * 角色数据
 */
public class Role implements Serializable {
    /**
     * 用户名
     */
    private String user_count;
    /**
     * 密码
     */
    private String password;
    /**
     * 角色ID
     */
    private Long userID;
    /**
     * 角色所在服务器
     */
    private int serverName;
    /**
     * 角色数据--1
     */
    private HumanData humanData_one = new HumanData();
    /**
     * 角色数据--2
     */
    private HumanData HumanData_two = new HumanData();
    /**
     * 是否被查封
     */
    private boolean canLogin;

    public HumanData getHumanData_one() {
        return humanData_one;
    }

    public HumanData getHumanData(int place) {
        if (place == 1) {
            return humanData_one;
        }
        return HumanData_two;
    }

    public void setHumanData_one(HumanData humanData_one) {
        this.humanData_one = humanData_one;
    }


    public HumanData getHumanData_two() {
        return HumanData_two;
    }

    public void setHumanData_two(HumanData humanData_two) {
        HumanData_two = humanData_two;
    }

    /**
     * 杂项
     */

    private String question_one;
    private String answer_one;
    private String question_two;
    private String answer_two;
    private String E_mail;
    private String player_name;
    /**
     * 固话
     */
    private long phone;
    /**
     * 电话
     */
    private long cell_phone;

    public String getPlayer_name() {
        return player_name;
    }

    public void setPlayer_name(String player_name) {
        this.player_name = player_name;
    }

    public String getUser_count() {
        return user_count;
    }

    public void setUser_count(String user_count) {
        this.user_count = user_count;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getQuestion_one() {
        return question_one;
    }

    public void setQuestion_one(String question_one) {
        this.question_one = question_one;
    }

    public String getAnswer_one() {
        return answer_one;
    }

    public void setAnswer_one(String answer_one) {
        this.answer_one = answer_one;
    }

    public String getQuestion_two() {
        return question_two;
    }

    public void setQuestion_two(String question_two) {
        this.question_two = question_two;
    }

    public String getAnswer_two() {
        return answer_two;
    }

    public void setAnswer_two(String answer_two) {
        this.answer_two = answer_two;
    }

    public String getE_mail() {
        return E_mail;
    }

    public void setE_mail(String e_mail) {
        E_mail = e_mail;
    }

    public long getPhone() {
        return phone;
    }

    public void setPhone(long phone) {
        this.phone = phone;
    }

    public long getCell_phone() {
        return cell_phone;
    }

    public void setCell_phone(long cell_phone) {
        this.cell_phone = cell_phone;
    }

    public boolean isCanLogin() {
        return canLogin;
    }

    public void setCanLogin(boolean canLogin) {
        this.canLogin = canLogin;
    }

    public Long getUserID() {
        return userID;
    }

    public void setUserID(Long userID) {
        this.userID = userID;
    }

    public int getServerName() {
        return serverName;
    }

    public void setServerName(int serverName) {
        this.serverName = serverName;
    }

}
